﻿using B.S.DataBase.MyProject.Domain.ViewModels;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace T.E.ERP.Read.API.Applicantions.Command.PurchaseInStroeCommand
{
    public class GetPurchaseInRepositoryListCommand:IRequest<APIResult<List<View_PurchaseInList>>>
    {
        /// <summary>
        /// 单据编码
        /// </summary>
        public string? Id { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public int? Repository { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public long? MaterialsCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? MaterialsName { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int pageIndex { get; set; }
        /// <summary>
        /// 页数
        /// </summary>
        public int pageSize { get; set; }
    }
}
